package com.aixin.csopuser.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.Instant;

@Setter
@Getter
@ToString
@Entity
@Table(name = "customerownedservices")
public class CustomerOwnedServices {
    @Id
    private String custServiceNum;//客户服务号
    private String customerID;//用户ID
    private String equityID;//权益ID
    private String equityLevelID;//权益等级ID
    private int totalServiceNum;//总服务次数
    private int usedNum;//使用次数
    private Instant useTime;//使用时间
    private Instant createTime;//创建时间
    private Instant endTime;//服务到期时间
}
